﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace HenuAlbum.ControllerModels
{
    public class AddGroupAlbumparam
    {

        [Required]
        [StringLength(32, MinimumLength = 1)]
        public string Title { get; set; }

        [StringLength(512)]
        public string Description { get; set; } = string.Empty;

        [Required]
        public bool IsPublic { get; set; } = false;
        [Required]
        public int ClassId { get; set; }
    }
}
